package com.nf.mappers;

import com.nf.entity.HouseInfo;
import com.nf.entity.Student;
import com.nf.entity.StudentHouseInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface StudentMapper {

    //public Student findStudentById(int studId);
    public Map<String,Object> findStudentById(int studId);

    //public Student findAllStudents();
    public List<Student> findAllStudents();

    public void insertStudent(Student student);

    public  void updateStudent(Student student);

    public List<StudentHouseInfo> getAllStudentHouseInfo();

    public List<HouseInfo> getAllHouseInfo();

    public List<Student> findStudentByHouseId(int houseid);

}
